﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProductReleasing2.aspx.cs" Inherits="ProductReleasing" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <style>
     aside{
          height:500px;
          width:50%;
          float:right;
          padding-top:30px;
          margin-top:30px;
          border-style:solid; 
          border-width:2px; 
          border-color:darkgrey;
          border-radius:10px;
          background-color:#FFFFFF;
    }

    .select{ 
            width:95%;
            height:40px;
            border-style:solid;
            border-width:2px;
            border-bottom-color:darkgrey;
            border-top-color:#FFFFFF;
            border-left-color:#FFFFFF;
            border-right-color:#FFFFFF;
            text-align:center;
            line-height:40px;
    }
    a:hover{
        color:#3ccf15;
    }
    a{text-decoration:none;color: #000000;}


   </style>


    <aside >
     <nav >
         <div class="select">
             <a href="ProductReleasing.aspx" >想卖</a>
         </div>

         <div class="select">
             <a href="ProductReleasing2.aspx" >想买</a>
         </div>       
     </nav>
    </aside>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <style type="text/css">
     
    .panel{
           border-style:solid; border-width:3px; border-color:darkgrey;
           width:80%;height:500px;padding-top:30px;padding-left:20px;
           margin-top:30px;
           text-align:center;
    }
    
    .Table{
     margin:0 auto
    }

    .Table_tr {
            height: 70px;
     }


    .td2{
         text-align:left;
        }

    </style>

    <div class="panel">
     
     <table class="Table">
      <tr class="Table_tr">
        <td>&nbsp;</td>
        <td class="td2">
            &nbsp;</td>
        <td>
            &nbsp;</td>
      </tr>

      <tr class="Table_tr">
        <td>商品名称：</td>
        <td class="td2">
            <asp:TextBox ID="GoodsName" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
           runat="server" ErrorMessage="不能为空" ControlToValidate="GoodsName"></asp:RequiredFieldValidator>
        </td>
      </tr>

       <tr class="Table_tr">
         <td>商品描述：</td>
         <td class="td2">
             <asp:TextBox ID="GoodsDescription" runat="server" Height="87px" Width="312px" 
                 TextMode="MultiLine"></asp:TextBox>
         </td>
         <td>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
           runat="server" ErrorMessage="不能为空" ControlToValidate="GoodsDescription"></asp:RequiredFieldValidator>
         </td>
       </tr>

        <tr class="Table_tr">
          <td>价格范围：</td>
          <td class="td2">
              <asp:TextBox ID="PriceFloor" runat="server" Width="68px"></asp:TextBox> — 
              <asp:TextBox ID="PriceCap" runat="server" Width="68px"></asp:TextBox>元
          </td>
        </tr>

        <tr class="Table_tr">
         <td>商品分类：</td>
         <td class="td2">
             <asp:DropDownList ID="Type" runat="server" AppendDataBoundItems="true"
                  AutoPostBack="true" DataTextField="GoodsTypeName">
             </asp:DropDownList>
         </td>
        </tr>

        <tr class="Table_tr">
         <td>&nbsp;</td>
         <td class="td2">
             &nbsp;</td>
        </tr>

        <tr class="Table_tr">
         <td>&nbsp;</td>
         <td>
             <asp:Label ID="lblMsg" runat="server" ForeColor="#3399ff" Text=""></asp:Label>
         </td>
         <td>
             <asp:Button ID="SaveButton" runat="server" Text="立即发布" 
              style="background-color:aliceblue;border-color:white" OnClick="SaveButton_Click" />
         </td>
        </tr>
     
     </table>

    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

